import numpy as np

array = np.array([[1, 2, 3],
                  [2, 3, 4]])
print(array)

# 数组维度.ndim
print('number of dim:', array.ndim)

# 几行几列
print('shape:', array.shape)

# 数组大小
print('size', array.size)
